from

fun from(vector: Vector3<*>): Vec3(source)

Creates a Vec3 from a generic Vector3.

Return

A Vec3 with the same components as the input vector.

Parameters

vector

The input vector.